From: Richard M. Stallman Date: Mon, 16 Aug 2004 22:41:56 +0000 (+0000) Subject: (term-default-fg-color, term-default-bg-color) X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~21392 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=452d2ee3dc10e52721b0cd1e8ce13d8de4972c9e;p=emacs.git (term-default-fg-color, term-default-bg-color) (ansi-term-color-vector): Use `unspecified', not nil, as default. --- diff --git a/lisp/term.el b/lisp/term.el index f1bd8d9a4f6..9866db7e29c 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -705,18 +705,18 @@ Buffer local variable.") ;;; faces -mm -(defcustom term-default-fg-color nil +(defcustom term-default-fg-color 'unspecified "Default color for foreground in `term'." :group 'term :type 'string) -(defcustom term-default-bg-color nil +(defcustom term-default-bg-color 'unspecified "Default color for background in `term'." :group 'term :type 'string) (defvar ansi-term-color-vector - [nil "black" "red" "green" "yellow" "blue" + [unspecified "black" "red" "green" "yellow" "blue" "magenta" "cyan" "white"]) ;;; Inspiration came from comint.el -mm @@ -3080,8 +3080,7 @@ See `term-prompt-regexp'." (setq term-current-face (append '(:underline t) term-current-face)))))) -; (message "Debug %S" term-current-face) - +;;; (message "Debug %S" term-current-face) (setq term-ansi-face-already-done 0))